import java.util.Random;

public class Guess {
    public char[] str  = new char[5];
    public  char[] guess() {
        Random random = new Random();
        int[] f = new int[26];
        for (int i = 0; i < 5; i++) {
            int n = random.nextInt(26);
            while (f[n] != 0){
                 n = random.nextInt(26);
            }
            f[n] = 1;
            str[i] = (char)(65 + n);
        }
        return str;
    }
}
